<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>小票模板</title>
    <style>
        html,
        body,
        h3,
        p {
            margin: 0;
            padding: 0;
        }

        h3 {
            text-align: center;
        }

        body {
            font-size: 14px;
            font-family: '幼圆';
            font-weight: bold;
            margin-left: 30px;
        }

        .title {
            margin: 20px 0;
        }

        .w177 {
            width: 200px;
        }

        .tab-box {
            font-size: 14px;
            padding: 10px 0;
            border-bottom: 2px dashed black;
        }

        /* .tab-box .name {
            width: 150px;
        } */
    </style>
</head>

<body class="w177">
    <div class="title w177">


        <h3>订单号:{$data.orderno}</h3>
        <h3>{$data.table}</h3>
    </div>
    <table class="tab-box" width="200">
        <tr>
            <td width="150" style="font-family: cursive;">菜名</td>
            <td width="50" align="center" style="font-family: cursive;">数量</td>
        </tr>
    </table>
    <!-- <p style="display:inline-block;">--------------------------------</p> -->
    <table class="tab-box" width="200">
        {volist name="data.detail" id="val"}
        <tr>
            <td width="150">{$val.product_name}</td>
            <td width="50" align="center">{$val.quantity}</td>
        </tr>
        {/volist}
    </table>
    <!-- <div class="tab-box w177">
        <div style="width: 120px;">海皇干逼粉丝煲</div>
        <div>1</div>
    </div>
    <div class="tab-box w177">
        <div style="width: 120px;">海皇干逼粉丝煲海皇干逼粉丝煲海皇干逼粉丝煲</div>
        <div>1</div>
    </div> -->


<!--    <p style="display:inline-block;">&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;</p>-->
    <div style="font-size: 14px;margin-bottom: 10px;">
        <p>下单时间：</p>
        <p>{$data.order_time|date="Y-m-d H:i"}</p>
    </div>
    <div class="w177">
        <p>备注:</p>
        <p> {$data.remarks}</p>
    </div>
    <div style="height: 50px;"></div>
</body>

</html>